﻿#pragma once

#include <QWidget>
#include <qlistwidget.h>
#include "Friend.h"
#include "Book.h"
//堆栈窗口
#include <qstackedwidget.h>

class OpeWidget : public QWidget
{
	Q_OBJECT
public:
	explicit OpeWidget(QWidget* parent = nullptr);
	static OpeWidget& getInstance();
	Book* getBook();
	Friend* getFriend();

signals:

public slots:


private:
	QListWidget* m_pListWidget;
	Friend* m_pFriend;
	Book* m_pBook;

	QStackedWidget* m_pStackWidget;
};
